var koa = require('koa');
var cors = require('koa-cors');
var koaRouter = require('koa-router');

var app = new koa();
var router = new koaRouter();

router.get('/o2o/api/bookRecommend', function *(next) {
    this.body = {
		"returnCode": "SUCCESS",
		"data": {
			"data": [{
				"node": {
					"_id": "59128365e5a3262c37488e3d",
					"title": "出版精品"
				},
				"__v": 0,
				"book": {
					"wordCount": 1375626,
					"author": "竹筒夫子",
					"superscript": "",
					"allowMonthly": true,
					"chaptersCount": 642,
					"latelyFollower": 98,
					"title": "我和女战俘荒野求生的日子",
					"shortIntro": "二战末期，苏联出动百万大军击败了盘踞在中国东北的日本关东军，并将四十五万战俘押到西伯利亚做苦役。期间，一个苏联小兵在押送俘虏的过程中偷了九个女战俘，逃到荒野之中.....本故事既是根据这段史实改编。",
					"cover": "http://statics.zhuishushenqi.com/agent/http://img.1391.com/api/v1/bookcenter/cover/1/2206336/2206336_eb2d138d961f4f58b1933346e2d98404.jpg/",
					"isSerial": true,
					"sizetype": -1,
					"majorCate": "人文社科",
					"minorCate": "",
					"retentionRatio": 0,
					"longIntro": "二战末期，苏联出动百万大军击败了盘踞在中国东北的日本关东军，并将四十五万战俘押到西伯利亚做苦役。期间，一个苏联小兵在押送俘虏的过程中偷了九个女战俘，逃到荒野之中.....本故事既是根据这段史实改编。",
					"_id": "595bba04db00c4c76e77310d",
					"contentType": "txt"
				},
				"show": true,
				"_id": "5ae989b5bde576b62dbea4ac",
				"page": "5910018c8094b1e228e5868f",
				"order": 1440
			}, {
				"node": {
					"_id": "59128365e5a3262c37488e3d",
					"title": "出版精品"
				},
				"__v": 0,
				"book": {
					"wordCount": 352070,
					"author": "古龙",
					"superscript": "",
					"allowMonthly": true,
					"chaptersCount": 32,
					"latelyFollower": 111,
					"title": "圆月弯刀",
					"shortIntro": "《圆月弯刀》为古龙晚期作品，发表于1977年-1978年间，本书后面大部分由司马紫烟代笔[1] 。《圆月弯刀》是部叫好又叫座的精彩小说，此书情节悬疑，可谓是古龙作品中从神魔小说到推理小说的代表作。目前共有四个版本的影视剧改编作品。",
					"cover": "http://statics.zhuishushenqi.com/agent/http://img.1391.com/api/v1/bookcenter/cover/1/57017/_57017_769484.jpg/",
					"isSerial": false,
					"sizetype": -1,
					"majorCate": "出版小说",
					"minorCate": "",
					"retentionRatio": 0,
					"longIntro": "《圆月弯刀》为古龙晚期作品，发表于1977年-1978年间，本书后面大部分由司马紫烟代笔[1] 。《圆月弯刀》是部叫好又叫座的精彩小说，此书情节悬疑，可谓是古龙作品中从神魔小说到推理小说的代表作。目前共有四个版本的影视剧改编作品。",
					"_id": "536dbb184a4d4c0f3f00d279",
					"contentType": "txt"
				},
				"show": true,
				"_id": "5ae98981b08c33832f835708",
				"page": "5910018c8094b1e228e5868f",
				"order": 1441
			}, {
				"node": {
					"_id": "59128365e5a3262c37488e3d",
					"title": "出版精品"
				},
				"__v": 0,
				"book": {
					"wordCount": -1,
					"author": "塞林格",
					"superscript": "",
					"allowMonthly": false,
					"chaptersCount": 26,
					"latelyFollower": 59,
					"title": "麦田里的守望者",
					"shortIntro": "霍尔顿是出身于富裕中产阶级的十六岁少年，在第四次被开除出学校之后，不敢贸然回家，只身在美国最繁华的纽约城游荡了一天两夜，住小客店，逛夜总会，滥交女友，酗酒……他...",
					"cover": "http://statics.zhuishushenqi.com/agent/http://img5.douban.com/lpic/s2738366.jpg",
					"isSerial": false,
					"sizetype": -1,
					"majorCate": "",
					"cat": "其它",
					"minorCate": "",
					"retentionRatio": 0,
					"longIntro": "霍尔顿是出身于富裕中产阶级的十六岁少年，在第四次被开除出学校之后，不敢贸然回家，只身在美国最繁华的纽约城游荡了一天两夜，住小客店，逛夜总会，滥交女友，酗酒……他看到了资本主义社会的种种丑恶，接触了各式各样的人物，其中大部分是“假模假式的”伪君子。\n霍尔顿几乎看不惯周围发生的一切，他甚至想逃离这个现实世界，到穷乡僻壤去假装一个又聋又哑的人，但要真正这样做，又是不可能的，结果他只能生活在矛盾之中：他这一辈子最痛恨电影，但百无聊赖中又不得不在电影院里消磨时间；他厌恶没有爱情的性关系，却又糊里糊涂地叫来了妓女；他讨厌虚荣庸俗的女友萨丽，却又迷恋她的美色，情不自禁地与她搂搂抱抱。\n因此，他尽管看不惯世道，却只好苦闷、彷惶，用种种不切实际的幻想安慰自己，自欺欺人，最后仍不免对现实社会妥协，成不了真正的叛逆，这可以说是作者塞林格和他笔下人物霍尔顿的悲剧所在。",
					"_id": "54914b4e338fe64c65fb0b78",
					"contentType": "txt"
				},
				"show": false,
				"_id": "5ae989890325940d2ee75d0d",
				"page": "5910018c8094b1e228e5868f",
				"order": 4238
			}, {
				"node": {
					"_id": "59128365e5a3262c37488e3d",
					"title": "出版精品"
				},
				"__v": 0,
				"book": {
					"wordCount": 200000,
					"author": "(美)卡勒德·胡赛尼",
					"superscript": "",
					"allowMonthly": false,
					"chaptersCount": 50,
					"latelyFollower": 1073,
					"title": "追风筝的人",
					"shortIntro": "12岁的阿富汗富家少爷阿米尔与仆人哈桑情同手足。然而，在一场风筝比赛后，发生了一件悲惨不堪的事，阿米尔为自己的懦弱感到自责和痛苦，逼走了哈桑，不久，自己也跟随父...",
					"cover": "http://statics.zhuishushenqi.com/agent/http://wfqqreader.3g.qq.com/cover/339/546339/t7_546339.jpg",
					"isSerial": false,
					"sizetype": -1,
					"majorCate": "其它",
					"cat": "都市言情",
					"minorCate": "",
					"retentionRatio": 23.86,
					"longIntro": "12岁的阿富汗富家少爷阿米尔与仆人哈桑情同手足。然而，在一场风筝比赛后，发生了一件悲惨不堪的事，阿米尔为自己的懦弱感到自责和痛苦，逼走了哈桑，不久，自己也跟随父亲逃往美国。成年后的阿米尔始终无法原谅自己当年对哈桑的背叛。为了赎罪，阿米尔再度踏上暌违二十多年的故乡，希望能为不幸的好友尽最后一点心力，却发现一个惊天谎言，儿时的噩梦再度重演，阿米尔该如何抉择？",
					"_id": "582d1c9ee6fa05e121f7b364",
					"contentType": "txt"
				},
				"show": true,
				"_id": "5ad98b2a5f341b5129ea5754",
				"page": "5910018c8094b1e228e5868f",
				"order": 4239
			}, {
				"node": {
					"_id": "59128365e5a3262c37488e3d",
					"title": "出版精品"
				},
				"__v": 0,
				"book": {
					"wordCount": 85020,
					"author": "北京未来新世纪教育科学发展中心编",
					"superscript": "",
					"allowMonthly": false,
					"chaptersCount": 21,
					"latelyFollower": 0,
					"title": "中兴左宗棠",
					"shortIntro": "左宗棠（1812年11月10日—1885年9月5日），汉族，字季高，一字朴存，号湘上农人。湖南湘阴人。晚清重臣，军事家、政治家、湘军著名将领，洋务派代表人物之一...",
					"cover": "http://statics.zhuishushenqi.com/agent/http://wap.cmread.comhttp://cdn.cmread.com/coverFile/467282982/5527c1c8a1e2dfbe056a5f40dcb7d405ad0529dd6712/cover180240.jpg",
					"isSerial": false,
					"sizetype": -1,
					"majorCate": "其它",
					"cat": "其它",
					"minorCate": "",
					"retentionRatio": 0,
					"longIntro": "左宗棠（1812年11月10日—1885年9月5日），汉族，字季高，一字朴存，号湘上农人。湖南湘阴人。晚清重臣，军事家、政治家、湘军著名将领，洋务派代表人物之一。与曾国藩、李鸿章、张之洞并称“晚清中兴四大名臣”。",
					"_id": "5ad97b2b2ba4400100ca264f",
					"contentType": "txt"
				},
				"show": false,
				"_id": "5ad98b77bb0a8a0a282ec4da",
				"page": "5910018c8094b1e228e5868f",
				"order": 4260
			}, {
				"node": {
					"_id": "59128365e5a3262c37488e3d",
					"title": "出版精品"
				},
				"__v": 0,
				"book": {
					"wordCount": 212700,
					"author": "埃塞尔·伏尼契",
					"superscript": "",
					"allowMonthly": false,
					"chaptersCount": 29,
					"latelyFollower": 0,
					"title": "牛虻（译文名著精选）",
					"shortIntro": "《牛虻》是英国女作家伏尼契的代表作，20世纪50年代引进中国后风靡一时，成为当时年轻人的最爱之一。",
					"cover": "http://statics.zhuishushenqi.com/agent/http://wap.cmread.comhttp://cdn.cmread.com/coverFile/463648073/5527c1c8a793e58805538b469bfb4f05a3b08598f273/cover180240.jpg",
					"isSerial": false,
					"sizetype": -1,
					"majorCate": "其它",
					"cat": "其它",
					"minorCate": "",
					"retentionRatio": 0,
					"longIntro": "《牛虻》是英国女作家伏尼契的代表作，20世纪50年代引进中国后风靡一时，成为当时年轻人的最爱之一。",
					"_id": "5ad97d382ba4400100ca2655",
					"contentType": "txt"
				},
				"show": false,
				"_id": "5ad98b22bb0a8a0a282ec4d9",
				"page": "5910018c8094b1e228e5868f",
				"order": 4261
			}],
			"ok": true
		}
	}
});

router.get('/o2o/api/bookClassifyList', function *(next) {
    this.body = {
		"returnCode": "SUCCESS",
		"data": {
			"total": 2934,
			"books": [{
				"author": "佚名",
				"superscript": "",
				"allowMonthly": false,
				"latelyFollower": 2676,
				"title": "山海经",
				"lastChapter": "第25章 卷十八海内经",
				"shortIntro": "《山海经》所具有的集大成之特色，决定了这部书的多样性、复杂性、兼容性、实用性。因此，当今也有许多论者称之为中国古代的一部百科全书。它像一座知识的矿藏，储藏着历史、地理、文学、医学、宗教、民俗、绘画艺术、神话传说、奇取佚事、杂论等多方面的宝贵知识。我们应该避免那些以偏概全的定性思维，从多视角、多学科、多领域、全方位去开发先民留下的这座富矿。追索其来龙去脉，探讨其叙事风格，比较其古今异同，揭示其遗风遗韵，阐发其文化底蕴，从而进一步理解《山海经》博大精深的意蕴，使它多方面的价值得以全面研究、开发与利用。“泛览周王传，流观山海图，俯仰终宇宙，不乐复何如？”当年，“采菊东篱下”的陶渊明已深得品读《山海经》的乐趣，今天，我们以全新的眼光静下心来再读一读《山海经》，一定会让读者在愉悦中获取知识、启迪心智、丰富想象、增广见闻、扩展视野、受益良多。",
				"tags": [],
				"cover": "/agent/http://img.1391.com/api/v1/bookcenter/cover/1/42798/_42798_755444.jpg/",
				"sizetype": -1,
				"site": "zhuishuvip",
				"majorCate": "传记名著",
				"minorCate": "",
				"retentionRatio": 5.78,
				"_id": "53b76d8840f97c4245511144",
				"banned": 0,
				"contentType": "txt"
			},{
				"author": "佚名",
				"superscript": "",
				"allowMonthly": false,
				"latelyFollower": 2676,
				"title": "山海经",
				"lastChapter": "第25章 卷十八海内经",
				"shortIntro": "《山海经》所具有的集大成之特色，决定了这部书的多样性、复杂性、兼容性、实用性。因此，当今也有许多论者称之为中国古代的一部百科全书。它像一座知识的矿藏，储藏着历史、地理、文学、医学、宗教、民俗、绘画艺术、神话传说、奇取佚事、杂论等多方面的宝贵知识。我们应该避免那些以偏概全的定性思维，从多视角、多学科、多领域、全方位去开发先民留下的这座富矿。追索其来龙去脉，探讨其叙事风格，比较其古今异同，揭示其遗风遗韵，阐发其文化底蕴，从而进一步理解《山海经》博大精深的意蕴，使它多方面的价值得以全面研究、开发与利用。“泛览周王传，流观山海图，俯仰终宇宙，不乐复何如？”当年，“采菊东篱下”的陶渊明已深得品读《山海经》的乐趣，今天，我们以全新的眼光静下心来再读一读《山海经》，一定会让读者在愉悦中获取知识、启迪心智、丰富想象、增广见闻、扩展视野、受益良多。",
				"tags": [],
				"cover": "/agent/http://img.1391.com/api/v1/bookcenter/cover/1/42798/_42798_755444.jpg/",
				"sizetype": -1,
				"site": "zhuishuvip",
				"majorCate": "传记名著",
				"minorCate": "",
				"retentionRatio": 5.78,
				"_id": "53b76d8840f97c4245511144",
				"banned": 0,
				"contentType": "txt"
			},{
				"author": "佚名",
				"superscript": "",
				"allowMonthly": false,
				"latelyFollower": 2676,
				"title": "山海经",
				"lastChapter": "第25章 卷十八海内经",
				"shortIntro": "《山海经》所具有的集大成之特色，决定了这部书的多样性、复杂性、兼容性、实用性。因此，当今也有许多论者称之为中国古代的一部百科全书。它像一座知识的矿藏，储藏着历史、地理、文学、医学、宗教、民俗、绘画艺术、神话传说、奇取佚事、杂论等多方面的宝贵知识。我们应该避免那些以偏概全的定性思维，从多视角、多学科、多领域、全方位去开发先民留下的这座富矿。追索其来龙去脉，探讨其叙事风格，比较其古今异同，揭示其遗风遗韵，阐发其文化底蕴，从而进一步理解《山海经》博大精深的意蕴，使它多方面的价值得以全面研究、开发与利用。“泛览周王传，流观山海图，俯仰终宇宙，不乐复何如？”当年，“采菊东篱下”的陶渊明已深得品读《山海经》的乐趣，今天，我们以全新的眼光静下心来再读一读《山海经》，一定会让读者在愉悦中获取知识、启迪心智、丰富想象、增广见闻、扩展视野、受益良多。",
				"tags": [],
				"cover": "/agent/http://img.1391.com/api/v1/bookcenter/cover/1/42798/_42798_755444.jpg/",
				"sizetype": -1,
				"site": "zhuishuvip",
				"majorCate": "传记名著",
				"minorCate": "",
				"retentionRatio": 5.78,
				"_id": "53b76d8840f97c4245511144",
				"banned": 0,
				"contentType": "txt"
			},{
				"author": "佚名",
				"superscript": "",
				"allowMonthly": false,
				"latelyFollower": 2676,
				"title": "山海经",
				"lastChapter": "第25章 卷十八海内经",
				"shortIntro": "《山海经》所具有的集大成之特色，决定了这部书的多样性、复杂性、兼容性、实用性。因此，当今也有许多论者称之为中国古代的一部百科全书。它像一座知识的矿藏，储藏着历史、地理、文学、医学、宗教、民俗、绘画艺术、神话传说、奇取佚事、杂论等多方面的宝贵知识。我们应该避免那些以偏概全的定性思维，从多视角、多学科、多领域、全方位去开发先民留下的这座富矿。追索其来龙去脉，探讨其叙事风格，比较其古今异同，揭示其遗风遗韵，阐发其文化底蕴，从而进一步理解《山海经》博大精深的意蕴，使它多方面的价值得以全面研究、开发与利用。“泛览周王传，流观山海图，俯仰终宇宙，不乐复何如？”当年，“采菊东篱下”的陶渊明已深得品读《山海经》的乐趣，今天，我们以全新的眼光静下心来再读一读《山海经》，一定会让读者在愉悦中获取知识、启迪心智、丰富想象、增广见闻、扩展视野、受益良多。",
				"tags": [],
				"cover": "/agent/http://img.1391.com/api/v1/bookcenter/cover/1/42798/_42798_755444.jpg/",
				"sizetype": -1,
				"site": "zhuishuvip",
				"majorCate": "传记名著",
				"minorCate": "",
				"retentionRatio": 5.78,
				"_id": "53b76d8840f97c4245511144",
				"banned": 0,
				"contentType": "txt"
			},{
				"author": "佚名",
				"superscript": "",
				"allowMonthly": false,
				"latelyFollower": 2676,
				"title": "山海经",
				"lastChapter": "第25章 卷十八海内经",
				"shortIntro": "《山海经》所具有的集大成之特色，决定了这部书的多样性、复杂性、兼容性、实用性。因此，当今也有许多论者称之为中国古代的一部百科全书。它像一座知识的矿藏，储藏着历史、地理、文学、医学、宗教、民俗、绘画艺术、神话传说、奇取佚事、杂论等多方面的宝贵知识。我们应该避免那些以偏概全的定性思维，从多视角、多学科、多领域、全方位去开发先民留下的这座富矿。追索其来龙去脉，探讨其叙事风格，比较其古今异同，揭示其遗风遗韵，阐发其文化底蕴，从而进一步理解《山海经》博大精深的意蕴，使它多方面的价值得以全面研究、开发与利用。“泛览周王传，流观山海图，俯仰终宇宙，不乐复何如？”当年，“采菊东篱下”的陶渊明已深得品读《山海经》的乐趣，今天，我们以全新的眼光静下心来再读一读《山海经》，一定会让读者在愉悦中获取知识、启迪心智、丰富想象、增广见闻、扩展视野、受益良多。",
				"tags": [],
				"cover": "/agent/http://img.1391.com/api/v1/bookcenter/cover/1/42798/_42798_755444.jpg/",
				"sizetype": -1,
				"site": "zhuishuvip",
				"majorCate": "传记名著",
				"minorCate": "",
				"retentionRatio": 5.78,
				"_id": "53b76d8840f97c4245511144",
				"banned": 0,
				"contentType": "txt"
			},{
				"author": "佚名",
				"superscript": "",
				"allowMonthly": false,
				"latelyFollower": 2676,
				"title": "山海经",
				"lastChapter": "第25章 卷十八海内经",
				"shortIntro": "《山海经》所具有的集大成之特色，决定了这部书的多样性、复杂性、兼容性、实用性。因此，当今也有许多论者称之为中国古代的一部百科全书。它像一座知识的矿藏，储藏着历史、地理、文学、医学、宗教、民俗、绘画艺术、神话传说、奇取佚事、杂论等多方面的宝贵知识。我们应该避免那些以偏概全的定性思维，从多视角、多学科、多领域、全方位去开发先民留下的这座富矿。追索其来龙去脉，探讨其叙事风格，比较其古今异同，揭示其遗风遗韵，阐发其文化底蕴，从而进一步理解《山海经》博大精深的意蕴，使它多方面的价值得以全面研究、开发与利用。“泛览周王传，流观山海图，俯仰终宇宙，不乐复何如？”当年，“采菊东篱下”的陶渊明已深得品读《山海经》的乐趣，今天，我们以全新的眼光静下心来再读一读《山海经》，一定会让读者在愉悦中获取知识、启迪心智、丰富想象、增广见闻、扩展视野、受益良多。",
				"tags": [],
				"cover": "/agent/http://img.1391.com/api/v1/bookcenter/cover/1/42798/_42798_755444.jpg/",
				"sizetype": -1,
				"site": "zhuishuvip",
				"majorCate": "传记名著",
				"minorCate": "",
				"retentionRatio": 5.78,
				"_id": "53b76d8840f97c4245511144",
				"banned": 0,
				"contentType": "txt"
			},{
				"author": "佚名",
				"superscript": "",
				"allowMonthly": false,
				"latelyFollower": 2676,
				"title": "山海经",
				"lastChapter": "第25章 卷十八海内经",
				"shortIntro": "《山海经》所具有的集大成之特色，决定了这部书的多样性、复杂性、兼容性、实用性。因此，当今也有许多论者称之为中国古代的一部百科全书。它像一座知识的矿藏，储藏着历史、地理、文学、医学、宗教、民俗、绘画艺术、神话传说、奇取佚事、杂论等多方面的宝贵知识。我们应该避免那些以偏概全的定性思维，从多视角、多学科、多领域、全方位去开发先民留下的这座富矿。追索其来龙去脉，探讨其叙事风格，比较其古今异同，揭示其遗风遗韵，阐发其文化底蕴，从而进一步理解《山海经》博大精深的意蕴，使它多方面的价值得以全面研究、开发与利用。“泛览周王传，流观山海图，俯仰终宇宙，不乐复何如？”当年，“采菊东篱下”的陶渊明已深得品读《山海经》的乐趣，今天，我们以全新的眼光静下心来再读一读《山海经》，一定会让读者在愉悦中获取知识、启迪心智、丰富想象、增广见闻、扩展视野、受益良多。",
				"tags": [],
				"cover": "/agent/http://img.1391.com/api/v1/bookcenter/cover/1/42798/_42798_755444.jpg/",
				"sizetype": -1,
				"site": "zhuishuvip",
				"majorCate": "传记名著",
				"minorCate": "",
				"retentionRatio": 5.78,
				"_id": "53b76d8840f97c4245511144",
				"banned": 0,
				"contentType": "txt"
			},{
				"author": "佚名",
				"superscript": "",
				"allowMonthly": false,
				"latelyFollower": 2676,
				"title": "山海经",
				"lastChapter": "第25章 卷十八海内经",
				"shortIntro": "《山海经》所具有的集大成之特色，决定了这部书的多样性、复杂性、兼容性、实用性。因此，当今也有许多论者称之为中国古代的一部百科全书。它像一座知识的矿藏，储藏着历史、地理、文学、医学、宗教、民俗、绘画艺术、神话传说、奇取佚事、杂论等多方面的宝贵知识。我们应该避免那些以偏概全的定性思维，从多视角、多学科、多领域、全方位去开发先民留下的这座富矿。追索其来龙去脉，探讨其叙事风格，比较其古今异同，揭示其遗风遗韵，阐发其文化底蕴，从而进一步理解《山海经》博大精深的意蕴，使它多方面的价值得以全面研究、开发与利用。“泛览周王传，流观山海图，俯仰终宇宙，不乐复何如？”当年，“采菊东篱下”的陶渊明已深得品读《山海经》的乐趣，今天，我们以全新的眼光静下心来再读一读《山海经》，一定会让读者在愉悦中获取知识、启迪心智、丰富想象、增广见闻、扩展视野、受益良多。",
				"tags": [],
				"cover": "/agent/http://img.1391.com/api/v1/bookcenter/cover/1/42798/_42798_755444.jpg/",
				"sizetype": -1,
				"site": "zhuishuvip",
				"majorCate": "传记名著",
				"minorCate": "",
				"retentionRatio": 5.78,
				"_id": "53b76d8840f97c4245511144",
				"banned": 0,
				"contentType": "txt"
			},{
				"author": "佚名",
				"superscript": "",
				"allowMonthly": false,
				"latelyFollower": 2676,
				"title": "山海经",
				"lastChapter": "第25章 卷十八海内经",
				"shortIntro": "《山海经》所具有的集大成之特色，决定了这部书的多样性、复杂性、兼容性、实用性。因此，当今也有许多论者称之为中国古代的一部百科全书。它像一座知识的矿藏，储藏着历史、地理、文学、医学、宗教、民俗、绘画艺术、神话传说、奇取佚事、杂论等多方面的宝贵知识。我们应该避免那些以偏概全的定性思维，从多视角、多学科、多领域、全方位去开发先民留下的这座富矿。追索其来龙去脉，探讨其叙事风格，比较其古今异同，揭示其遗风遗韵，阐发其文化底蕴，从而进一步理解《山海经》博大精深的意蕴，使它多方面的价值得以全面研究、开发与利用。“泛览周王传，流观山海图，俯仰终宇宙，不乐复何如？”当年，“采菊东篱下”的陶渊明已深得品读《山海经》的乐趣，今天，我们以全新的眼光静下心来再读一读《山海经》，一定会让读者在愉悦中获取知识、启迪心智、丰富想象、增广见闻、扩展视野、受益良多。",
				"tags": [],
				"cover": "/agent/http://img.1391.com/api/v1/bookcenter/cover/1/42798/_42798_755444.jpg/",
				"sizetype": -1,
				"site": "zhuishuvip",
				"majorCate": "传记名著",
				"minorCate": "",
				"retentionRatio": 5.78,
				"_id": "53b76d8840f97c4245511144",
				"banned": 0,
				"contentType": "txt"
			},{
				"author": "佚名",
				"superscript": "",
				"allowMonthly": false,
				"latelyFollower": 2676,
				"title": "山海经",
				"lastChapter": "第25章 卷十八海内经",
				"shortIntro": "《山海经》所具有的集大成之特色，决定了这部书的多样性、复杂性、兼容性、实用性。因此，当今也有许多论者称之为中国古代的一部百科全书。它像一座知识的矿藏，储藏着历史、地理、文学、医学、宗教、民俗、绘画艺术、神话传说、奇取佚事、杂论等多方面的宝贵知识。我们应该避免那些以偏概全的定性思维，从多视角、多学科、多领域、全方位去开发先民留下的这座富矿。追索其来龙去脉，探讨其叙事风格，比较其古今异同，揭示其遗风遗韵，阐发其文化底蕴，从而进一步理解《山海经》博大精深的意蕴，使它多方面的价值得以全面研究、开发与利用。“泛览周王传，流观山海图，俯仰终宇宙，不乐复何如？”当年，“采菊东篱下”的陶渊明已深得品读《山海经》的乐趣，今天，我们以全新的眼光静下心来再读一读《山海经》，一定会让读者在愉悦中获取知识、启迪心智、丰富想象、增广见闻、扩展视野、受益良多。",
				"tags": [],
				"cover": "/agent/http://img.1391.com/api/v1/bookcenter/cover/1/42798/_42798_755444.jpg/",
				"sizetype": -1,
				"site": "zhuishuvip",
				"majorCate": "传记名著",
				"minorCate": "",
				"retentionRatio": 5.78,
				"_id": "53b76d8840f97c4245511144",
				"banned": 0,
				"contentType": "txt"
			}],
			"ok": true
		}
	}
});

router.get('/o2o/api/bookDetail', function *(next) {
    this.body = {
		"returnCode": "SUCCESS",
		"data": {
			"hiddenPackage": [],
			"hasCp": true,
			"gender": ["press"],
			"hasCopyright": true,
			"superscript": "",
			"rating": {
				"score": 8.585,
				"count": 114,
				"isEffect": true
			},
			"allowMonthly": false,
			"chaptersCount": 20,
			"discount": null,
			"advertRead": true,
			"title": "山海经",
			"lastChapter": "第25章 卷十八海内经",
			"cover": "/agent/http://img.1391.com/api/v1/bookcenter/cover/1/42798/_42798_755444.jpg/",
			"isSerial": false,
			"cat": "传记名著",
			"minorCate": "",
			"retentionRatio": "5.78",
			"limit": false,
			"_le": false,
			"postCount": 31,
			"currency": 0,
			"allowVoucher": true,
			"donate": false,
			"contentType": "txt",
			"followerCount": 0,
			"allowBeanVoucher": false,
			"wordCount": 110000,
			"author": "佚名",
			"apptype": [0, 1, 4],
			"buytype": 0,
			"latelyFollower": 2676,
			"tags": [],
			"sizetype": -1,
			"majorCate": "传记名著",
			"serializeWordCount": 0,
			"creater": "Xiaomi MI 2SC",
			"longIntro": "《山海经》所具有的集大成之特色，决定了这部书的多样性、复杂性、兼容性、实用性。因此，当今也有许多论者称之为中国古代的一部百科全书。它像一座知识的矿藏，储藏着历史、地理、文学、医学、宗教、民俗、绘画艺术、神话传说、奇取佚事、杂论等多方面的宝贵知识。我们应该避免那些以偏概全的定性思维，从多视角、多学科、多领域、全方位去开发先民留下的这座富矿。追索其来龙去脉，探讨其叙事风格，比较其古今异同，揭示其遗风遗韵，阐发其文化底蕴，从而进一步理解《山海经》博大精深的意蕴，使它多方面的价值得以全面研究、开发与利用。“泛览周王传，流观山海图，俯仰终宇宙，不乐复何如？”当年，“采菊东篱下”的陶渊明已深得品读《山海经》的乐趣，今天，我们以全新的眼光静下心来再读一读《山海经》，一定会让读者在愉悦中获取知识、启迪心智、丰富想象、增广见闻、扩展视野、受益良多。",
			"_id": "53b76d8840f97c4245511144",
			"updated": "2016-03-21T18:37:14.995Z",
			"_gg": false
		}
	}
});

router.get('/o2o/api/bookComments', function *(next) {
    this.body = {
		"returnCode": "SUCCESS",
		"data": {
			"total": 21,
			"reviews": [{
				"author": {
					"gender": "male",
					"activityAvatar": "/activities/20180215/4.jpg",
					"nickname": "浮生～若梦",
					"lv": 9,
					"_id": "54a0afe06f9ed25a10cf91bd",
					"avatar": "/avatar/6c/1e/6c1eba90e85b971fecfeb799a0674c0d",
					"type": "normal"
				},
				"created": "2015-01-07T04:35:17.492Z",
				"rating": 5,
				"likeCount": 13,
				"_id": "54acb78546089d2e34470cbf",
				"helpful": {
					"no": 53,
					"total": 681,
					"yes": 734
				},
				"state": "normal",
				"title": "此等玄幻仙侠修真之鼻祖书籍，尔等还不快快膜拜",
				"updated": "2018-05-03T07:51:47.241Z",
				"content": "绝大多玄幻修真仙侠都里的boss ，传说，怪兽等等等都来自此神作，可以说此书是真正的此类小说的鼻祖。",
				"commentCount": 195
			}],
			"ok": true
		}
	}
});

router.get('/o2o/api/bookSearchAutoComplete', function *(next) {
    this.body = {"returnCode":"SUCCESS","data":{"keywords":["一念永恒","一念（红薯网）","一念汪洋","一念","一念乱天机","一念红尘","一念百花开","一念长空","一念情起","一念灵台方寸间"],"ok":true}}
});

router.get('/o2o/api/bookSearch', function *(next) {
	this.body = {"returnCode":"SUCCESS","data":{"total":19000,"books":[{"hasCp":true,"aliases":"","wordCount":2085475,"author":"朱郎才尽","superscript":"","allowMonthly":false,"latelyFollower":45639,"title":"寒门崛起","lastChapter":"第899章 拜码头","shortIntro":"　这是一个就业路上屡被蹂躏的古汉语专业研究生，回到了明朝中叶，进入了山村一家幼童身体后的故事。\r\n　　木讷父亲泼辣娘，一水的极品亲戚，农家小院是非不少。好在，咱有几千年的历史积淀，四书五经八股文，专业也对口，谁言寒门再难出贵子。\r\n　　国力上升垂拱而治；\r\n　　法纪松弛，官纪慵散；\r\n　　有几只奸臣，也闹点倭寇；\r\n　　但总体上可以说，这是士大夫自由滋生的沃土。\r\n　　一个寒门崛起的传奇也就从这里生长了。","cover":"/agent/http%3A%2F%2Fimg.1391.com%2Fapi%2Fv1%2Fbookcenter%2Fcover%2F1%2F634346%2F634346_c6bc34f21d114e99bd629a914b2a57e6.jpg%2F","sizetype":-1,"highlight":{"author":["才"]},"site":"zhuishuvip","cat":"历史","retentionRatio":29.75,"_id":"5559c3f38e9e69be5a0da51d","banned":0,"contentType":"txt"},{"hasCp":true,"aliases":"","wordCount":4433303,"author":"芥沫","superscript":"","allowMonthly":true,"latelyFollower":4827,"title":"天才小毒妃","lastChapter":"正文 第 1370 章除夕夜特辑下篇","shortIntro":"她是医学世家最卑微的废材丑女，人人可欺，他却是天宁国最尊贵的王，万众拥戴，权倾天下！大婚之日，花轿临门，秦王府大门紧闭，丢出一句“明日再来”。她孤身一人，踩着自尊一步一步踏入王府大门……\r\n殊不知：废材丑女实为貌美天才毒医！\r\n新婚夜救刺客，她治完伤又保证：“大哥，你赶紧走吧，我不会揭发你的。”\r\n谁知刺客却道：“洞房花烛夜，你要本王去哪里？...","cover":"/agent/http%3A%2F%2Fimg.1391.com%2Fapi%2Fv1%2Fbookcenter%2Fcover%2F1%2F46925%2F_46925_594881.jpg%2F","sizetype":-1,"highlight":{"title":["才"]},"site":"zhuishuvip","cat":"玄幻奇幻","retentionRatio":60.35,"_id":"5530dd06423278526a2e8d75","banned":0,"contentType":"txt"},{"hasCp":true,"aliases":"","wordCount":4558532,"author":"柳下挥","superscript":"","allowMonthly":false,"latelyFollower":6343,"title":"天才医生","lastChapter":"第十卷：龙争虎斗！ 第1521章、幸福像石缝里的花！","shortIntro":"掌握亿万家财、无上权力又如何？我，能够掌握你的生命。一个小医生弘扬中医的励志故事！","cover":"/agent/http%3A%2F%2Fimg.1391.com%2Fapi%2Fv1%2Fbookcenter%2Fcover%2F1%2F22548%2F_22548_595429.jpg%2F","sizetype":-1,"highlight":{"title":["才"]},"site":"zhuishuvip","cat":"都市","retentionRatio":50.55,"_id":"5098704998c8a0890d000039","banned":0,"contentType":"txt"},{"hasCp":true,"aliases":"","wordCount":3546156,"author":"香酥鸡块","superscript":"","allowMonthly":false,"latelyFollower":80569,"title":"天才神医混都市","lastChapter":"第1661章　仆人？","shortIntro":"“指腹为婚不都是一对一吗？哪有一次定三份亲的！”\n被师父摆了一道的杨天，为了心爱的馒头，拿着三份婚书下了山，开始了逍遥自在的都市生活。\n他医术惊世，活死人肉白骨。\n他武力骇人，杀人于无形中。\n吊打高富帅，脚踩富二代，乃至判人生死——对他来说都不算个事！\n但，当名门望族争相求他当女婿，冰山总裁、冷艳杀手、魅惑妖精、清纯学妹、娇嫩萝莉等无数美女都抢着往他怀里扑的时候，杨天也不得不为难：“我是都收了呢，还是都收了呢，抑或是……都收了呢？”\n","cover":"/agent/http%3A%2F%2Fimg.1391.com%2Fapi%2Fv1%2Fbookcenter%2Fcover%2F1%2F1444198%2F1444198_55354a34b84e43c9af52aaa45152028b.jpg%2F","sizetype":-1,"highlight":{"title":["才"]},"site":"zhuishuvip","cat":"都市","retentionRatio":60.18,"_id":"58b7ccb35a5fd65e5d5450c7","banned":0,"contentType":"txt"},{"hasCp":true,"aliases":"","wordCount":5465454,"author":"才不是妹控","superscript":"","allowMonthly":true,"latelyFollower":35378,"title":"网游之梦幻法师","lastChapter":"第四十八章 我家的偷腥猫……很可爱，想抱","shortIntro":"逗逼魔法师误入妹子窝，饱受摧残意志依旧坚定。你们这些笨女人不要阻拦我，男人的浪漫是星辰大海啊！群号127982710，内有萌物请自行寻找","cover":"/agent/http%3A%2F%2Fimg.1391.com%2Fapi%2Fv1%2Fbookcenter%2Fcover%2F1%2F683722%2F_683722_894353.jpg%2F","sizetype":-1,"highlight":{"author":["才"]},"site":"zhuishuvip","cat":"游戏","retentionRatio":50.25,"_id":"528202f36c07ca412d07541d","banned":0,"contentType":"txt"},{"hasCp":true,"aliases":"","wordCount":6190139,"author":"一起成功","superscript":"","allowMonthly":false,"latelyFollower":7546,"title":"天才高手","lastChapter":"高手风云 第2716章 我输了","shortIntro":"这是一个兵王的故事，这是一个高手的故事，这更是一个天才和美人的故事，扮扮猪，吃吃虎，唱唱歌，泡泡妞，弹弹琴，杀杀敌人，这便是叶天龙的的人生理想。\n【成功微信号：yiqichenggong2009】","cover":"/agent/http%3A%2F%2Fimg.1391.com%2Fapi%2Fv1%2Fbookcenter%2Fcover%2F1%2F2172696%2F2172696_66e89065ec734d0db87e6a2de082e6d1.jpg%2F","sizetype":-1,"highlight":{"title":["才"]},"site":"zhuishuvip","cat":"都市","retentionRatio":63.11,"_id":"5948e64e85998e534a3fc179","banned":0,"contentType":"txt"},{"hasCp":true,"aliases":"","wordCount":2839136,"author":"打眼","superscript":"","allowMonthly":false,"latelyFollower":4390,"title":"天才相师","lastChapter":"完本感言和新书！","shortIntro":"铁口直断，一卦千金\n少年叶天偶得相师传承，究天人之际，通古今之变，为往圣继绝学\n————————————————————————\n相师VIP铁杆群：210683611，全订阅用户可加（进群需验证）\n已完本小说《黄金瞳》，书荒可看\n《天才相师1》实体书上市\n新华书店及各大网店均有售，朋友们多多支持","cover":"/agent/http%3A%2F%2Fimg.1391.com%2Fapi%2Fv1%2Fbookcenter%2Fcover%2F1%2F41973%2F_41973_808799.jpg%2F","sizetype":-1,"highlight":{"title":["才"]},"site":"zhuishuvip","cat":"都市","retentionRatio":49.55,"_id":"50864bb79dacd30e3a000011","banned":0,"contentType":"txt"},{"hasCp":true,"aliases":"","wordCount":4828905,"author":"俊秀才","superscript":"","allowMonthly":false,"latelyFollower":4938,"title":"重生之最强人生","lastChapter":"第1321章 重利相诱","shortIntro":"一次跑步锻炼，殷俊从迷雾中穿出来时，已经回到了78年的香江。这一年，还没有霸占荧幕的综艺节目，没有熟悉的特效大片，也没有耳熟能详的歌曲。这一年，香江电视剧还没有好戏频出，香江电影也没有火遍全亚洲，香江歌曲也没有风靡内地。这一年，经典还没有成为情怀，繁华也没有凋零。这一年，英雄尚未迟暮，红颜不曾白头。青春不再，情怀常留。谨以此文，追忆这个我们曾经深深喜欢过的年代。谨以此文，纪念我们曾经的那些青葱岁月。————————————已有完本万订精品小说《美梦时代》，820多万字，精彩纷呈。喜欢的可以去看看，下面有直通车。","cover":"/agent/http%3A%2F%2Fimg.1391.com%2Fapi%2Fv1%2Fbookcenter%2Fcover%2F1%2F1188349%2F1188349_0dba021623f348abab5e282cab3cb5fa.jpg%2F","sizetype":-1,"highlight":{"author":["才"]},"site":"zhuishuvip","cat":"都市","retentionRatio":66.72,"_id":"57dfd8870449b8493c421c66","banned":0,"contentType":"txt"},{"hasCp":true,"aliases":"","wordCount":4425387,"author":"废铁行者","superscript":"","allowMonthly":true,"latelyFollower":4072,"title":"我才不会被女孩子欺负呢","lastChapter":"【1360】 大结局","shortIntro":"什么情况？从6岁开始就一直欺负我的那家伙，三年不见竟然变成了一个漂亮的女孩子？还跑到约定决斗的地点向我表白：希望我能做她的男朋友？！阴谋！这里面一定有天大的阴谋！我才不会上你的当！就算你跟我抹眼泪扮可怜，我也要对你各种无视+羞辱，直到童年的怨气全部释放为止啊！　看什么看？我欺负女孩子是有正当理由的！","cover":"/agent/http%3A%2F%2Fimg.1391.com%2Fapi%2Fv1%2Fbookcenter%2Fcover%2F1%2F685530%2F_685530_038793.jpg%2F","sizetype":-1,"highlight":{"title":["才"]},"site":"zhuishuvip","cat":"轻小说","retentionRatio":39.44,"_id":"518c841b5612cac92f000031","banned":0,"contentType":"txt"},{"hasCp":true,"aliases":"","wordCount":3106548,"author":"凤今","superscript":"","allowMonthly":false,"latelyFollower":1653,"title":"重生之天才神棍","lastChapter":"第1487章 番外后续记(6)","shortIntro":"夏芍因救一位落入冰湖的老人，重生回了童年时代。  \r\n　　这一世，人生尚在起跑线上。  \r\n　　这一世，她决定重新来过，改变自己和家人的命运。  \r\n　　却没想到，因舍己救人的善举，她得到了一种特殊的能力——天眼。  \r\n　　从此，观人过去未来，断人生死前程——铁口直断！从不虚言。  \r\n　　难不成，这辈子要当神棍？  \r\n　　这与众不同的人生好有压力，谁曾想她竟处处开花。  \r\n　　从此，成就了一段神话传奇。  \r\n　　从此，出现了位一面难求的神秘人物。  \r\n　　从此，有了一道联合令，有一个人，任何情况下都不能惹。  \r\n　　从此，玄学一脉多了一位祖师。  \r\n　　…  \r\n　　这人生虽然和想象中的相差有点远，但是，貌似混得还不错？  \r\n　　*  \r\n　　本文为女主成长史，都市励志，爽文精彩！  \r\n　　喜欢看爽文的亲，喜欢看女强的亲，请放心进吧！","cover":"/agent/http%3A%2F%2Fimg.1391.com%2Fapi%2Fv1%2Fbookcenter%2Fcover%2F1%2F65368%2F_65368_663168.jpg%2F","sizetype":-1,"highlight":{"title":["才"]},"site":"zhuishuvip","cat":"现代言情","retentionRatio":40.66,"_id":"5284ed1b65004cdd3b022c16","banned":0,"contentType":"txt"},{"hasCp":true,"aliases":"","wordCount":3870200,"author":"相思梓","superscript":"","allowMonthly":false,"latelyFollower":2360,"title":"医毒双绝：冥王的天才宠妃","lastChapter":"新书《魅医倾城：逆天宝宝腹黑爹》已发","shortIntro":"饕餮馆的拍卖盛宴上，拥有绝佳炉鼎体质的少女被开出天价，人人哄抢。陡然间，金色牢笼中的少女睁开眼，寒芒四射，懦弱不再。她是21世纪的金牌杀手，一朝穿越为神医府人人欺凌的废柴三小姐纳兰纥（hé）溪。经脉俱废，没有修炼天赋？怕什么，她是绝世神医，这点伤根本不放在眼里。爹不疼，娘不爱，人人算计？哼，她有空间在手，灵宠无敌，小小纳兰府翻手可灭！容颜丑陋，面黄肌瘦，没人要？眨眼恢复倾世容颜，后面跟着一打美男保镖！还有那个从拍卖会后就黏着她不放的霸道男人，谁说我注定是你？我是我自己的，没有人能决定我的未来！某男：那我是你的总可以了吧？","cover":"/agent/http%3A%2F%2Fimg.1391.com%2Fapi%2Fv1%2Fbookcenter%2Fcover%2F1%2F1067445%2F1067445_7c1c3891a45f4291bcef81d8512bf922.jpg%2F","sizetype":-1,"highlight":{"title":["才"]},"site":"zhuishuvip","cat":"玄幻奇幻","retentionRatio":41.41,"_id":"57412a0d86b5292f396c3626","banned":0,"contentType":"txt"},{"hasCp":true,"aliases":"","wordCount":4961412,"author":"北藤","superscript":"","allowMonthly":false,"latelyFollower":2219,"title":"天才儿子腹黑娘亲","lastChapter":"第2300章 北辰秘闻(2)","shortIntro":"穿越后发现自己有了个儿子，儿子的身边还有一只神秘无敌的兽宠。没关系，人生直接跳过了生儿育女这一段，省事了。至于孩子他爸是谁，跟她有什么关系？带着儿子闯荡江湖，任你妖魔鬼怪，还是奸人贱人，母子齐心，遇神杀神，遇佛弑佛！","cover":"/agent/http%3A%2F%2Fimg.1391.com%2Fapi%2Fv1%2Fbookcenter%2Fcover%2F1%2F29798%2F29798_0b2cf75363674950987beb191ace62d8.jpg%2F","sizetype":-1,"highlight":{"title":["才"]},"site":"zhuishuvip","cat":"玄幻奇幻","retentionRatio":48.52,"_id":"50e66fcbb57ff2f63c00007a","banned":0,"contentType":"txt"},{"hasCp":true,"aliases":"","wordCount":3464373,"author":"小木不是小暮","superscript":"","allowMonthly":false,"latelyFollower":2412,"title":"英雄联盟之极品天才","lastChapter":"第1466章 大结局：不忘初心，方得始终！","shortIntro":"五楼神秘代练，一个月青铜到国服前百；四大路人高手，一支黑马战队横扫全球。某知名解说为他耀武扬威的大叫：“还有谁，谁能赐他一死？某电竞圈名人，为他做国服第一四百五英雄系列；某女主持为他的比赛声嘶力竭，激情呐喊……”","cover":"/agent/http%3A%2F%2Fimg.1391.com%2Fapi%2Fv1%2Fbookcenter%2Fcover%2F1%2F715470%2F_715470_810261.jpg%2F","sizetype":-1,"highlight":{"title":["才"]},"site":"zhuishuvip","cat":"游戏","retentionRatio":36.75,"_id":"537f5941227c8cfc0801e1f2","banned":0,"contentType":"txt"},{"hasCp":true,"aliases":"","wordCount":6190395,"author":"伊秋枫","superscript":"","allowMonthly":true,"latelyFollower":2255,"title":"都市之全能奇才","lastChapter":"番外十五","shortIntro":"绝品兵王段枫回归都市，再续强者传奇，守护红颜！血溅三尺为红颜，浮尸万里为老婆！一代兵王段枫开启一道美艳的热血人生！","cover":"/agent/http%3A%2F%2Fimg.1391.com%2Fapi%2Fv1%2Fbookcenter%2Fcover%2F1%2F685400%2F_685400_252602.jpg%2F","sizetype":-1,"highlight":{"title":["才"]},"site":"zhuishuvip","cat":"都市","retentionRatio":58.81,"_id":"53ac3092700fc63322223873","banned":0,"contentType":"txt"},{"hasCp":true,"aliases":"","wordCount":3540746,"author":"寂寞时才爱","superscript":"","allowMonthly":false,"latelyFollower":19657,"title":"地府我开的","lastChapter":"第1187章  ｛大结局！｝","shortIntro":"书友群：109757929\n被失恋的叶凡机缘巧合下得到了失传了无数年月的地府，成为了新一任的阎罗王殿下。\n钢铁侠、阴阳师、各种历史名人为叶凡所用。\n飞龙在天，小龙上身，寸短寸强，咏春叶问。\n当然，清纯女主播，玉女医师，暴力警花，极品萝莉也是接踵而来，应接不暇。\n　","cover":"/agent/http%3A%2F%2Fimg.1391.com%2Fapi%2Fv1%2Fbookcenter%2Fcover%2F1%2F1497256%2F_1497256_535352.jpg%2F","sizetype":-1,"highlight":{"author":["才"]},"site":"zhuishuvip","cat":"都市","retentionRatio":56.35,"_id":"5919078c473b58694921a501","banned":0,"contentType":"txt"},{"hasCp":true,"aliases":"","wordCount":1237928,"author":"冰伊可可","superscript":"","allowMonthly":false,"latelyFollower":611,"title":"天才狂妃","lastChapter":"第642章 结局(5)","shortIntro":"云挽歌，外公失势，皇后小姨被废，美人娘亲卖给他人为小妾，她不再是将军府的掌上明珠，夜若离，天星帝国万年不遇的绝世天才，意外陨落之后穿越至千年前，魂附！她带着母亲逃离将军府，十年回归，她名震天下，面对昔日亲人，是不是到了算账的时候了！","cover":"/agent/http%3A%2F%2Fimg.1391.com%2Fapi%2Fv1%2Fbookcenter%2Fcover%2F1%2F29410%2F_29410_014303.jpg%2F","sizetype":-1,"highlight":{"title":["才"]},"site":"zhuishuvip","cat":"女尊","retentionRatio":32.32,"_id":"5278750ca597cdc611013a25","banned":0,"contentType":"txt"},{"hasCp":true,"aliases":"","wordCount":3015752,"author":"MS芙子","superscript":"","allowMonthly":false,"latelyFollower":1218,"title":"神医狂妃：天才召唤师","lastChapter":"（全文完） 番外：冥神和他的小蛋妻 2","shortIntro":"她，是身怀异宝，医术无双的神农后裔，他，是俊美无铸，却离奇失明，腹黑的战神王爷。异世穿越，她成了一个六岁大的小废物。逆天召唤、禁忌魔法，她一朝崛起，锋芒乍现，睥睨诸强。\n当轻狂撞上腹黑，天才杠上妖孽，那一刻，世界，为之战栗！\n","cover":"/agent/http%3A%2F%2Fimg.1391.com%2Fapi%2Fv1%2Fbookcenter%2Fcover%2F1%2F41927%2F_41927_553961.jpg%2F","sizetype":-1,"highlight":{"title":["才"]},"site":"zhuishuvip","cat":"玄幻奇幻","retentionRatio":46.85,"_id":"53aad837545236f711610cdd","banned":0,"contentType":"txt"},{"hasCp":true,"aliases":"","wordCount":1666011,"author":"耗子欺负猫","superscript":"","allowMonthly":false,"latelyFollower":1035,"title":"极牛鬼才在异界","lastChapter":"第561章：“鬼才”来啦","shortIntro":"在修真界有一个被誉为\"鬼才\"的人:他精通佛、魔、道、巫术等等各种绝学,所有的人对他是又敬又怕,因为他不仅实力无人能及,更是一个制丹、炼器、布阵的宗师中的宗师……然而就是这样的一个男人,却意外地穿越到了异界,并且变成了一个小屁孩儿.而我们的故事也因此开始了……","cover":"/agent/http%3A%2F%2Fimg.1391.com%2Fapi%2Fv1%2Fbookcenter%2Fcover%2F1%2F47006%2F_47006_182520.jpg%2F","sizetype":-1,"highlight":{"title":["才"]},"site":"zhuishuvip","cat":"玄幻","retentionRatio":28.12,"_id":"5221fc522df921be6e0000d9","banned":0,"contentType":"txt"},{"hasCp":true,"aliases":"","wordCount":10865489,"author":"冷云邪神","superscript":"","allowMonthly":true,"latelyFollower":2493,"title":"天才高手在都市","lastChapter":"VIP卷 第5186章 亦正亦邪","shortIntro":"会点小武功，懂点小医术，有点不要脸，少年秋羽来到大都市充当校花保镖，当寂寞的世界出现清纯小萝莉，娇蛮警花，白领丽人，妩媚大明星等诸多美女，不断的擦出火花，暧昧丛生，他能否守身如玉，继续纯洁……","cover":"/agent/http%3A%2F%2Fimg.1391.com%2Fapi%2Fv1%2Fbookcenter%2Fcover%2F1%2F30653%2F_30653_130218.jpg%2F","sizetype":-1,"highlight":{"title":["才"]},"site":"zhuishuvip","cat":"都市","retentionRatio":60.95,"_id":"5214e68dad94966a300000f1","banned":0,"contentType":"txt"},{"hasCp":true,"aliases":"","wordCount":3917151,"author":"幸福微光","superscript":"","allowMonthly":true,"latelyFollower":1132,"title":"天才后卫","lastChapter":"VIP卷 第1723章 勿忘初心，方得始终！（完结）","shortIntro":"艾弗森的速度，卡特的扣篮，乔丹的技术，约翰逊的传球......如果这些特点集合在一个人身上，他会有多强？如果这个人是个中国人，他会取得怎样的成就？这年，陈锋还是一个大一新生，一个没有多少人知道的天才后卫......","cover":"/agent/http%3A%2F%2Fimg.1391.com%2Fapi%2Fv1%2Fbookcenter%2Fcover%2F1%2F904085%2F_904085_627586.jpg%2F","sizetype":-1,"highlight":{"title":["才"]},"site":"zhuishuvip","cat":"竞技","retentionRatio":37.61,"_id":"566bd833ff970b4e701a60d0","banned":0,"contentType":"txt"}],"ok":true}}
});

router.get('/o2o/api/bookChapterList', function *(next) {
	this.body = {
	"returnCode": "SUCCESS",
	"data": {
		"chapters": [{
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/568512246c3df80c745b399a?cv=1507787819209",
			"currency": 5,
			"id": "568512246c3df80c745b399a",
			"title": "正文 第1章 惊悚，要嫁人了",
			"isVip": false,
			"order": 1
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/568512246c3df80c745b399e?cv=1507787821254",
			"currency": 5,
			"id": "568512246c3df80c745b399e",
			"title": "正文 第2章 羞辱，明日再来",
			"isVip": false,
			"order": 2
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/568512246c3df80c745b39a4?cv=1507787823201",
			"currency": 5,
			"id": "568512246c3df80c745b39a4",
			"title": "正文 第3章 不走，姐不好惹",
			"isVip": false,
			"order": 3
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/568512246c3df80c745b39a8?cv=1507787824818",
			"currency": 5,
			"id": "568512246c3df80c745b39a8",
			"title": "正文 第4章 让她继续等着呗",
			"isVip": false,
			"order": 4
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/568512276c3df80c745b39b0?cv=1507787880340",
			"currency": 5,
			"id": "568512276c3df80c745b39b0",
			"title": "正文 第5章 熟悉的提醒",
			"isVip": false,
			"order": 5
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/5685122e6c3df80c745b39ba?cv=1507787854739",
			"currency": 5,
			"id": "5685122e6c3df80c745b39ba",
			"title": "正文 第6章 吉时到了",
			"isVip": false,
			"order": 6
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/5685122e6c3df80c745b39bf?cv=1507787856975",
			"currency": 5,
			"id": "5685122e6c3df80c745b39bf",
			"title": "正文 第7章 是谁倾国倾城",
			"isVip": false,
			"order": 7
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/5685122f6c3df80c745b39ca?cv=1507787882247",
			"currency": 5,
			"id": "5685122f6c3df80c745b39ca",
			"title": "正文 第8章 送入洞房",
			"isVip": false,
			"order": 8
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/5685122f6c3df80c745b39d1?cv=1507787884558",
			"currency": 5,
			"id": "5685122f6c3df80c745b39d1",
			"title": "正文 第9章 神秘的男人",
			"isVip": false,
			"order": 9
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/5685122f6c3df80c745b39d7?cv=1507787886020",
			"currency": 5,
			"id": "5685122f6c3df80c745b39d7",
			"title": "正文 第10章 把衣服脱了",
			"isVip": false,
			"order": 10
		},{
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/568512246c3df80c745b399a?cv=1507787819209",
			"currency": 5,
			"id": "568512246c3df80c745b399a",
			"title": "正文 第1章 惊悚，要嫁人了",
			"isVip": false,
			"order": 1
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/568512246c3df80c745b399e?cv=1507787821254",
			"currency": 5,
			"id": "568512246c3df80c745b399e",
			"title": "正文 第2章 羞辱，明日再来",
			"isVip": false,
			"order": 2
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/568512246c3df80c745b39a4?cv=1507787823201",
			"currency": 5,
			"id": "568512246c3df80c745b39a4",
			"title": "正文 第3章 不走，姐不好惹",
			"isVip": false,
			"order": 3
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/568512246c3df80c745b39a8?cv=1507787824818",
			"currency": 5,
			"id": "568512246c3df80c745b39a8",
			"title": "正文 第4章 让她继续等着呗",
			"isVip": false,
			"order": 4
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/568512276c3df80c745b39b0?cv=1507787880340",
			"currency": 5,
			"id": "568512276c3df80c745b39b0",
			"title": "正文 第5章 熟悉的提醒",
			"isVip": false,
			"order": 5
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/5685122e6c3df80c745b39ba?cv=1507787854739",
			"currency": 5,
			"id": "5685122e6c3df80c745b39ba",
			"title": "正文 第6章 吉时到了",
			"isVip": false,
			"order": 6
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/5685122e6c3df80c745b39bf?cv=1507787856975",
			"currency": 5,
			"id": "5685122e6c3df80c745b39bf",
			"title": "正文 第7章 是谁倾国倾城",
			"isVip": false,
			"order": 7
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/5685122f6c3df80c745b39ca?cv=1507787882247",
			"currency": 5,
			"id": "5685122f6c3df80c745b39ca",
			"title": "正文 第8章 送入洞房",
			"isVip": false,
			"order": 8
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/5685122f6c3df80c745b39d1?cv=1507787884558",
			"currency": 5,
			"id": "5685122f6c3df80c745b39d1",
			"title": "正文 第9章 神秘的男人",
			"isVip": false,
			"order": 9
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/5685122f6c3df80c745b39d7?cv=1507787886020",
			"currency": 5,
			"id": "5685122f6c3df80c745b39d7",
			"title": "正文 第10章 把衣服脱了",
			"isVip": false,
			"order": 10
		},{
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/568512246c3df80c745b399a?cv=1507787819209",
			"currency": 5,
			"id": "568512246c3df80c745b399a",
			"title": "正文 第1章 惊悚，要嫁人了",
			"isVip": false,
			"order": 1
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/568512246c3df80c745b399e?cv=1507787821254",
			"currency": 5,
			"id": "568512246c3df80c745b399e",
			"title": "正文 第2章 羞辱，明日再来",
			"isVip": false,
			"order": 2
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/568512246c3df80c745b39a4?cv=1507787823201",
			"currency": 5,
			"id": "568512246c3df80c745b39a4",
			"title": "正文 第3章 不走，姐不好惹",
			"isVip": false,
			"order": 3
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/568512246c3df80c745b39a8?cv=1507787824818",
			"currency": 5,
			"id": "568512246c3df80c745b39a8",
			"title": "正文 第4章 让她继续等着呗",
			"isVip": false,
			"order": 4
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/568512276c3df80c745b39b0?cv=1507787880340",
			"currency": 5,
			"id": "568512276c3df80c745b39b0",
			"title": "正文 第5章 熟悉的提醒",
			"isVip": false,
			"order": 5
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/5685122e6c3df80c745b39ba?cv=1507787854739",
			"currency": 5,
			"id": "5685122e6c3df80c745b39ba",
			"title": "正文 第6章 吉时到了",
			"isVip": false,
			"order": 6
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/5685122e6c3df80c745b39bf?cv=1507787856975",
			"currency": 5,
			"id": "5685122e6c3df80c745b39bf",
			"title": "正文 第7章 是谁倾国倾城",
			"isVip": false,
			"order": 7
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/5685122f6c3df80c745b39ca?cv=1507787882247",
			"currency": 5,
			"id": "5685122f6c3df80c745b39ca",
			"title": "正文 第8章 送入洞房",
			"isVip": false,
			"order": 8
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/5685122f6c3df80c745b39d1?cv=1507787884558",
			"currency": 5,
			"id": "5685122f6c3df80c745b39d1",
			"title": "正文 第9章 神秘的男人",
			"isVip": false,
			"order": 9
		}, {
			"chapterCover": "",
			"totalpage": 0,
			"unreadble": false,
			"partsize": 0,
			"link": "http://vip.zhuishushenqi.com/chapter/5685122f6c3df80c745b39d7?cv=1507787886020",
			"currency": 5,
			"id": "5685122f6c3df80c745b39d7",
			"title": "正文 第10章 把衣服脱了",
			"isVip": false,
			"order": 10
		}],
		"book": "5530dd06423278526a2e8d75",
		"name": "优质书源",
		"link": "http://vip.zhuishushenqi.com/toc/568512206c3df80c745b398f",
		"host": "vip.zhuishushenqi.com",
		"_id": "568512206c3df80c745b398f",
		"source": "zhuishuvip",
		"updated": "2018-02-02T08:37:43.860Z",
		"bookName": "天才小毒妃"
	}
}
});

router.get('/o2o/api/bookChapterContent', function *(next) {
	this.body = {
		"returnCode": "SUCCESS",
		"data": {
			"chapter": {
				"cpContent": "正文 第1章 惊悚，要嫁人了\n\n\n正文 第1章 惊悚，要嫁人了\n\n&nbsp;&nbsp;二十一世纪，东海市高级私人医院院长办公室。\n“啪”一声，一份厚厚的病例被狠狠摔在桌子上，林院长面色铁青，怒不可遏，“韩芸汐，李先生可是凌云集团的董事之一，他拥有我们医院40%的股权，你必须给他优先安排解毒！”\n面对院长的滔天大怒，韩芸汐双手插在白大褂的口袋里，很平静。\n“林院长，很抱歉，李先生中的是慢性蛇毒，非紧急情况我这里不允许插队。”\n她长得清纯漂亮，一双大眼睛，一对小梨涡，年纪轻轻便以惊人针术天赋闻名中医界，是罕见的解毒的高手，不管是对付动物毒素、植物毒素、化学毒素还是人体内毒素，都是她的强项。\n“你这里？你搞清楚，这里是凌云！”院长愤怒得拍案而起。\n“院长，我再重申一遍，李先生不是急症，不管他是谁，在医生面前，人人……”\n韩芸汐的话还未说完，院长便厉声打断，“够了，别跟我说什么医生面前人人平等，只有男女之分。韩芸汐，我告诉你，马上安排解毒，否则，从今天起，滚出医学界！”\n警告她？\n本以为韩芸汐会害怕，可是，她却依旧平静从容，态度认真，“林院长，在我面前，也没有男女之分，只有两种人，我想救的和我不想救的，李先生我不救，请另请高明！”\n她说完，礼貌一笑，转身便走，看似瘦弱的身子优雅而从容，恬静美好中自有一种不容忽视傲骨。\n然而，当轩韩芸汐打开门时，林院长却勃然大怒，“韩芸汐，你敢这么对我说话，你给我站住！”\n说着，随手将桌上的病例夹朝她后脑勺砸来，韩芸汐一怔，只觉得一股湿热感从后脑勺缓缓流下。\n她有些错愕地转头，可是，都还来不及看林院长一眼呢，整个人便瘫了下去……\n三千年前，天宁国。　　　　\n韩芸汐从花轿里迷迷糊糊醒来，听到周遭一片喜庆，吹唢敲锣打鼓声此起彼伏，而眼前一片黑。 \n怎么回事？\n韩芸汐将罩在脑袋上的东西扯下来一看，顿是倒抽了口凉气，这……这不是喜帕吗？ \n 下意识仰头又低头，发现自己一身凤冠霞帔，宛然是个正出嫁的新娘子……醉了！\n花轿一颠一颠的，让韩芸汐头疼起来，而这个时候，陌生的记忆也一段段涌入脑海。\n无疑，她穿越了，而且一穿越就要嫁人了！ \n原主是天宁国医学世家韩家的嫡女，也叫韩芸汐，因为生母医术了得救活了当时的皇后，也就是现在的太后，被指腹为婚给当时的七皇子，也就是现在的秦王龙非夜，当时还被传为一段佳话，韩家也因此地位飙升。\n可谁都不知道韩芸汐一出生就克死亲娘，还长成了一个不懂医术的废材丑女，婚事因此一拖再拖成为秦王的禁忌，偏偏前些日子秦王惹恼了皇帝，皇帝一纸令下，月底之前择日完婚。\n今日，正是大婚的日子。\n 秦王龙非夜少年封王，是皇位之争中仅存的皇子，年纪轻轻才二十出头，论辈分却是如今唯一的皇叔，可谓天宁国位高权重第一人。\n秦王府在城南，韩家在城北，花轿得由北往南穿城而过，秦王成婚，即便本人没露面却依引得万人空巷，全城轰动。 \n就在韩芸汐整理这些记忆信息的时候，喜乐戛然而止，只听喜婆大呼，“不好了不好了，大事不好了！”\n\n\n",
				"currency": 5,
				"id": "568512246c3df80c745b399a",
				"title": "正文 第1章 惊悚，要嫁人了",
				"body": "\n\r\n\r\n\r请安装最新版追书 以便使用优质资源",
				"isVip": false
			},
			"ok": true
		}
	}
});

router.get('/demo', function *(next) {
    // 参数
    const params = this.params;
    const paramsCity = params.city;
    const paramsPage = params.page;

    this.body = {
    	id: '002',
    	name: 'jack'
    }
});

// 开始服务并生成路由
app.use(cors({
    credentials:true,
    origin: 'http://localhost:4000'
})).use(router.routes()).use(router.allowedMethods());
app.listen(9000);